package com.example.waibao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import javax.annotation.PostConstruct;
import java.util.TimeZone;

@SpringBootApplication
//@EnableTransactionManagement
//@MapperScan("com.example.waibao.mapper")
//@EnableScheduling  //用来开启定时任务
public class WaibaoApplication {

    public static void main(String[] args) {
        SpringApplication.run(WaibaoApplication.class, args);
    }

//    @PostConstruct
//    void started() {
//        TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
//    }



}
